package edu.xhu.homepage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.xhu.model.video.pojos.BiliSubChannel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BiliSubChannelMapper extends BaseMapper<BiliSubChannel> {
    /**
     * 根据主分区id,查询所有子分区
     */
    List<BiliSubChannel> queryAllByMainChannelId(@Param("mainChannelId") Long mainChannelId);
}
